#ifndef __GP_JXH62_PREFERENCE_H__
#define __GP_JXH62_PREFERENCE_H__

#include "..\gp_LensDef.h"

//=======================================================================
//Parameters:g_UserAeTable[0]=0 disable, 1 enable
//           g_UserAeTable[1]=0 day mode is equal ae_target
//           g_UserAeTable[2~7] night mode is ae_target-g_UserAeTable[]
//=======================================================================
static const INT8U g_UserAeTable[8] =
{
  0, 0, 4, 8, 12, 16, 20, 24
};


static const gpUserFav_t g_FavTable =
{
  	118, 																	//.ae_target
	0,																		//.iso
	CDSP_AE_METER_CENTER_WEIGHTED_AVG_CVR,									//.ae_meter
	AWB_AUTO_DC,//AWB_AUTO_FIRST_SEARCH,									//.awb_mode
	0,																		//.color_mode
	0,																		//.ev

	0,			//-128 ~ +127,   +: more blue,  -: more yellow/green		//.day_hue_u_offset
	0,			//-128 ~ +127,   +: more red,  -: more blue/green 			//.day_hue_v_offset

	0x36,		/*Default:0x20 blud*/										//.day_sat_u_scale
	0x36,		/*Default:0x20 red*/										//.day_sat_v_scale
	30,			/*	0(smooth) ~ 127(sharp)*/								//.day_edge

	0,			/*-128 ~ 127*/// +: more blue,  -: more yellow/green 		//.night_hue_u_offset
	0,			/*-128 ~ 127*/// +: more red,  -: more blue/green			//.night_hue_v_offset

	0x20,		/*Default:0x20, blue*/										//.night_sat_u_scale
	0x20,		/*Default:0x20, red */										//.night_sat_v_scale
	20,																		//.night_edge

	(128 - 5),  															//.max_lum: 0(Dark)~128(Light)
	(128 - 2),    															//.max_lum2
	
	64,  // wb_factor:  normal: 64,  warm: > 64,  cold: < 64
          
	0x0E, //ISP Function Enable:  bit[0]:LSC , bit[1]:WB , bit[2]:GAMMA ,  bit[3]:CCM .
  
	//capture_raw_mode:
	MODE_LUTGAMMA,   //MODE_PURERAW (disable all go path1)    
	                 //MODE_LENSCMP (enable lens compensation go path1)
	    			//MODE_WBGAIN  (enable wb go path2)        
	    			//MODE_LUTGAMMA(enable wb & gamma go path3)
	
	(unsigned char *) g_UserAeTable,
};


#endif

